package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @className AssetCompany
 * @Description TODO
 * @Author wyy
 * @Data 2021/1/23 12:21
 * @Version 1.0
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("asset_company")
public class AssetCompany implements Serializable {
    private static final long serialVersionUID=-866654L;
    @TableId(type = IdType.AUTO)
    @TableField("company_id")
    private Integer companyId;           //公司id
    @TableField("company_name")
    private String companyName;           //公司名称（隶属公司）
    @TableField("group_name")
    private String groupName;             //集团名称
}
